package cn.com.cifi.mars.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import cn.com.cifi.mars.entity.SysProduct;
import cn.com.cifi.mars.mapper.mars.SysProductMapper;
import cn.com.cifi.mars.service.SysProductService;

/**
 * <p>
 * 产品业态信息 服务实现类
 * </p>
 *
 * @author yyd
 * @since 2021-06-04
 */
@Service
public class SysProductServiceImpl extends ServiceImpl<SysProductMapper, SysProduct> implements SysProductService {

	@Autowired
	SysProductMapper sysProductMapper;

	@Override
	public List<SysProduct> selectProductParent() {
		QueryWrapper<SysProduct> queryWrapper = new QueryWrapper<>();
		return sysProductMapper.selectList(queryWrapper);
	}
	
}
